package models

type TreeView struct {
	ID    uint64            `json:"id,omitempty"`
	Text  string            `json:"text"`
	Pid   uint64            `json:"pid"`
	Nodes []TreeView        `json:"nodes"`
	State TreeViewNodeState `json:"state"`
}

type TreeViewNodeState struct {
	Checked bool `json:"checked"`
}
